package com.geeksaga.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.geeksaga.dao.FileDao;
import com.geeksaga.domain.SagaFile;

/**
 * @author newbie
 * @since 0.1
 */
@Service
public class FileServiceImpl implements FileService {
    
    @Autowired protected FileDao bbsFileDao;

    /* (non-Javadoc)
     * @see com.geeksaga.service.FileService#find(java.lang.String)
     */
    public SagaFile findBySid(String sid) throws DataAccessException {
        return bbsFileDao.findBySid(sid);
    }
}